﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace App.Views.ViewModels
{
    public class RefriCoffinInfoViewModel
    {
        [DisplayName("编号")]
        [Required(ErrorMessage = "*")]
        [RegularExpression("\\d{2}", ErrorMessage = "2位数字")]        
        public string CoffinNO{get;set;}

        [Required(ErrorMessage = "*")]        
        [DisplayName("设置型号")]
        public string CoffinModel{get;set;}
        [DisplayName("备注")]
        public string Remark { get; set; }
    }
}